//
//  editAddressView.m
//  BeautyPicture
//
//  Created by 沈振邦 on 15/10/29.
//  Copyright © 2015年 szb. All rights reserved.
//

#import "editAddressView.h"

@implementation editAddressView

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor whiteColor];
        _leftLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 80.0f, frame.size.height)];
        _leftLabel.font = [UIFont systemFontOfSize:14.0f];
        [self addSubview:_leftLabel];
        
        _rightText = [[UITextField alloc] initWithFrame:CGRectMake(_leftLabel.width, 0, frame.size.width - _leftLabel.width, frame.size.height)];
        _rightText.font = [UIFont systemFontOfSize:14.0f];
        [self addSubview:_rightText];
        
        BPLineView *line = [[BPLineView alloc] initWithFrame:CGRectMake(0, frame.size.height - 1, frame.size.width, 1)];
        [self addSubview:line];
    }
    return self;
}

@end
